part of _;

extension on LoginPage {
  Widget view_login() {
    return YButton(
      width: yScreenSize(context: context).width,
      height: 50,
      borderRadius: BorderRadius.circular(99),
      decoration: BoxDecoration(gradient: IFinal.Colors.btnThemeGradient),
      child: Text("登录", style: TextStyle(color: Colors.white, fontSize: 18, fontWeight: FontWeight.bold)),
      onTap: () => controller_login(),
    );
  }
}
